xend: Test tap devices in testDeviceComplete()
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Mar 2009 10:10:15 +0000 (10:10 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 11 Mar 2009 10:10:15 +0000 (10:10 +0000)
commit106e7dd3a9c92f98143b4224e3a6b4de0fd62961
treee68b6bb587be4fbeb9dbaa6431fa50ae373432dd
parentf6be8835a30d90faebf7275c5be21ef8d8627be8
xend: Test tap devices in testDeviceComplete()

XendDomainInfo.testDeviceComplete() should check block devices have
shutdown correctly but it only considers vbd class devices and ignores
tap devices. The attached patch changes testDeviceComplete() to wait
for both vbd and tap devices to be shutdown correctly.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
tools/python/xen/xend/XendDomainInfo.py